#!/bin/sh
#usage: create directory /tests in folder with your program, then start this script
#csv will be generated to your /tests folder
rand -N 10 -d , > ./tests/input0.csv
    echo input0.csv created
rand -N 100 -d , > ./tests/input1.csv
    echo input1.csv created
rand -N 1000 -d , > ./tests/input2.csv
    echo input2.csv created
rand -N 10000 -d , > ./tests/input3.csv
    echo input3.csv created
rand -N 100000 -d , > ./tests/input4.csv
    echo input4.csv created
rand -N 1000 -d , -M 2 > ./tests/input5.csv
    echo input5.csv created
rand -N 1000000 -d , -M 3 > ./tests/input6.csv
    echo input6.csv created
